/*
 * @(#)HolidayRecord.java
 *
 * Copyright (c) 2003 DCIVision Ltd
 * All rights reserved.
 *
 * This software is the confidential and proprietary information of DCIVision
 * Ltd ("Confidential Information").  You shall not disclose such Confidential
 * Information and shall use it only in accordance with the terms of the license
 * agreement you entered into with DCIVision Ltd.
 */
package com.dcivision.setup.bean;

import java.sql.Timestamp;

import com.dcivision.framework.bean.AbstractBaseObject;


/**
 * HolidayRecord.java
 * 
 * This class is the serializable bean reflecting business logic uses.
 * 
 * @author Weison Liang
 * @company DCIVision Limited
 * @creation date 13/04/2005
 * @version $Revision: 1.6 $
 */


public class HolidayRecord extends AbstractBaseObject {

  public static final String REVISION = "$Revision: 1.6 $";
  
  public static final String REFERENCE_TYPE_REFERENCE = "0";
  public static final String REFERENCE_TYPE_RECORD = "1";

  public static final Integer HOLIDAY_TYPE_GENERAL = new Integer(1);
  public static final Integer HOLIDAY_TYPE_PUBLIC = new Integer(2);

  public static final String DAY_OFF_NONE = null;
  public static final String DAY_OFF_HALF = "0";
  public static final String DAY_OFF_FULL = "1";

  
  private Integer workingCalendarID = null;
  private String holidayName = null;
  private Integer holidayType = null;
  private Timestamp startDate = null;
  private Timestamp endDate = null;
  private String description = null;
  private String referenceFlag = null;
  private String year=null;
  private String custom=null;
  private String saturday=null;
  
  public HolidayRecord() {
    super();
  }

  public Integer getWorkingCalendarID() { 
    return(this.workingCalendarID);
  }

  public void setWorkingCalendarID(Integer workingCalendarID) { 
    this.workingCalendarID = workingCalendarID;
  }

  public String getHolidayName() { 
    return(this.holidayName);
  }

  public void setHolidayName(String holidayName) { 
    this.holidayName = holidayName;
  }

  public Integer getHolidayType() { 
    return(this.holidayType);
  }

  public void setHolidayType(Integer holidayType) { 
    this.holidayType = holidayType;
  }

  public Timestamp getStartDate() { 
    return(this.startDate);
  }

  public void setStartDate(Timestamp startDate) { 
    this.startDate = startDate;
  }

  public Timestamp getEndDate() { 
    return(this.endDate);
  }

  public void setEndDate(Timestamp endDate) { 
    this.endDate = endDate;
  }

  public String getDescription() { 
    return(this.description);
  }

  public void setDescription(String description) { 
    this.description = description;
  }

  public String getReferenceFlag() { 
    return(this.referenceFlag);
  }

  public void setReferenceFlag(String referenceFlag) { 
    this.referenceFlag = referenceFlag;
  }
  
  public String getYear() { 
    return(this.year);
  }

  public void setYear(String year) { 
    this.year = year;
  }
  
  public String getCustom() { 
    return(this.custom);
  }

  public void setCustom(String custom) { 
    this.custom = custom;
  }
  
  public String getSaturday() { 
    return(this.saturday);
  }

  public void setSaturday(String saturday) { 
    this.saturday = saturday;
  }
}
